package org.kl.bpm.repository.conf;

import java.util.List;

import org.kl.bf.repository.BasicRepository;
import org.kl.bpm.entity.conf.BpmConfNode;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface BpmConfNodeDao extends BasicRepository<BpmConfNode, String>, JpaSpecificationExecutor<BpmConfNode> {
	BpmConfNode findByCodeAndBpmConfBaseId(String code, String confBaseId);

	List<BpmConfNode> findByBpmConfBaseIdOrderByPriorityAsc(String bpmConfBaseId);
}
